<tr>
    <td><p style='  border: 1px solid #D1D1D1;   height: 67px;  overflow: hidden;  width: 77px;'>
    <img src="<?php echo $this->IMAGE?>" alt="<?php echo $this->NAME?>" width="77"/>
    </p>
    </td>
    <td>
        
        <div class="listRight">
        	<h3><?php echo $this->NAME?></h3>
            <dl>
            	
                <dd><?php if($this->Brand=="Khác"):?><?php echo "Mua bán"?> <?php else:?> <?php echo $this->Brand ?><?php endif?>&nbsp;</dd>
                
                <dd><?php if($this->Model=="Khác"):?><?php echo "Xe"?> <?php else:?> <?php echo $this->Model ?><?php endif?>&nbsp;</dd>
                
                <dd><?php echo $this->Price?>&nbsp; VNĐ</dd>
            </dl>
            
        </div>
    </td>
    <td>
        <?php
            $link = $this->translate('by_type_detail_'.$this->TYPE);
            $link = str_replace ('([0-9]+)', $this->ID, $link);  
            $link = str_replace ('([a-zA-Z0-9-_]+)', $this->ALIAS, $link); 
        ?>
        <a href="/<?php echo $link?>" class="btn_click"><span>Xem tin</span></a>
        
        <?php if(POST_FREE || $this->PREMIUM==1):?>
        <a href="/user/post/id/<?php echo $this->ID?>" class="btn_click"><span>Sửa tin</span></a>
        <?php else:?>
        <a href="javascript:void(0)" class="btn_click" onclick="alert('Để thực hiện chức năng này, vui lòng tiến hành thanh toán.')"><span>Sửa tin</span></a>
        <?php endif;?>
        <a href="/user/del/id/<?php echo $this->ID?>" class="btn_click" onclick="return confirm('Bạn chắc chắn muốn xóa tin này?');"><span>Xóa tin</span></a>
    </td>
    <?php if(POST_FREE==0):?>
    <td>
        <?php if ($this->PREMIUM):?>
        Đã thanh toán
        <?php else:?>
        Chưa thanh toán
        <?php endif;?>
    </td>
    <?php endif;?>
    <td>
        <?php if ($this->STATUS):?>
        Đang hiển thị
        <?php else:?>
        Đang ẩn
        <?php endif;?>
    </td>
</tr>